import { createApp } from 'vue';
import App from './App.vue';
import router from './router';// 引入路由
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import "@/mock"; // 引入 mock 文件
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import { createPinia } from 'pinia';
import "@vueup/vue-quill/dist/vue-quill.snow.css"; // 引入 Snow 样式

const app = createApp(App);
const pinia = createPinia();
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.use(pinia); // 注册 Pinia
app.use(router);
app.use(ElementPlus);
app.mount('#app');
//createApp(App).mount("#app");


